App({
  onLaunch: function() {
      //初始化加载，先判断用户登录状态
      if (wx.getStorageSync('psCustomerCode')) {
          wx.switchTab({
              url: 'pages/index/index'
          })
      } else {
          wx.reLaunch({
              url: 'pages/Login/Login'
          })
      }
  },
  globalData: {

  }
})